import VueRouter from 'vue-router'
import Records from '../pages/Records'
import RecordsType from '../pages/RecordsType'
import RecordsChart from '../pages/RecordsChart'

//配置一个全局路由，并管理组件
export default new VueRouter({
    routes: [
        {
            path: '/Records',
            component: Records
        },
        {
            path: '/RecordsType',
            component: RecordsType
        },
        {
            path: '/RecordsChart',
            component: RecordsChart
        },
    ]
})